import request from '@/utils/request'
// 获取-订单列表
export const getOrderList = (params) => {
  return request({
    method: 'GET',
    url: '/orders',
    params
  })
}
// 修改订单信息
export const editOrder = (orderid, data) => {
  return request({
    method: 'PUT',
    url: `/orders/${orderid}`,
    data
  })
}
// 获取-物流信息
export const getWuliuInfo = (id) => {
  return request({
    method: 'GET',
    url: `/kuaidi/${id}`
  })
}
